home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / comunic / 515disk1.zip / SUITE2.BAT < prev    next >
DOS Batch File  |  1993-02-19  |  8KB  |  226 lines

  1. @ECHO OFF
  2. CLS
  3. REM   *** UPGRADING FROM FBB 5.14 TO FBB 5.15
  4. ECHO.
  5. REM ========================================================================
  6. REM =                                                                      =
  7. REM = Default directories.  Make these to suit your needs..!               =
  8. REM =                                                                      =
  9. REM ========================================================================
  10. REM
  11. SET     disk=B:
  12. SET      doc=C:\FBB\DOC
  13. SET     docs=C:\FBB\DOCS
  14. SET     save=C:\FBB\BACKUP
  15. SET      fbb=C:\FBB
  16. SET   system=C:\FBB\SYSTEM
  17. SET     mail=C:\FBB\MAIL
  18. SET  binmail=C:\FBB\BINMAIL
  19. SET    users=C:\FBB\USERS
  20. SET     yapp=C:\FBB\USERS\YAPP
  21. SET  oldmail=C:\FBB\OLDMAIL
  22. SET    stats=C:\FBB\STATS
  23. SET      fwd=C:\FBB\SYSTEM\FWD
  24. SET      bin=C:\FBB\BIN
  25. REM
  26. REM ========================================================================
  27. REM
  28. ECHO *** UPGRADING FROM FBB 5.14 TO FBB 5.15
  29. ECHO.
  30. ECHO It is assumed that 5.14 already is installed like this:
  31. ECHO - Main BBS-directory               %fbb%
  32. ECHO - Directory for COM/EXE/BAT-files  %bin%
  33. ECHO - System-files in                  %system%
  34. ECHO - Messages in                      %mail%
  35. ECHO - Binary-messages in               %binmail%
  36. ECHO - User-directory in                %users%
  37. ECHO - FBB-manuals                      %doc%
  38. ECHO - Directory for backup             %save%
  39. ECHO - Statistics                       %stats%
  40. ECHO.
  41. ECHO  It is assumed that you install from disk %disk%.
  42. ECHO.
  43. ECHO.
  44. ECHO   If this is not correct, you must stop now by pressing CTRL-C, and
  45. ECHO   modify the SET-lines SUITE2.BAT
  46. PAUSE
  47. ECHO.
  48. CLS
  49. ECHO                *** UPGRADING SOFTWARE.... ****
  50. ECHO.
  51. ECHO.
  52. ECHO Will now make a backup copy of all the old files, and also a copy
  53. ECHO of all new files for version 5.15.  This will need a lot of disk-space,
  54. ECHO you should have at least 5 Megabytes free.  If you are not sure you have
  55. ECHO enough diskspace, exit now with CTRL-C.  After you have made enough
  56. ECHO room on the hard-disk, you can restart this installation-procedure.
  57. ECHO.
  58. ECHO If you cannot possibly make this much free room on your hard-disk, you 
  59. ECHO should NOT use this installation-procedure at all, as you may loose
  60. ECHO important datas..
  61. ECHO.
  62. ECHO.
  63. PAUSE
  64. C:
  65. CD \
  66. MD \FBBTEMP
  67. MD \FBB514
  68. COPY %disk%PKUNZJR.COM
  69. VERIFY ON
  70. ECHO.
  71. ECHO Backup important files...
  72. ECHO.
  73. CD %fbb%
  74. COPY *.* \FBB514
  75. CD %bin%
  76. COPY *.* \FBB514
  77. CD %system%
  78. COPY *.SYS \FBB514
  79. CD %system%\LANG
  80. COPY *.* \FBB514
  81. CD %system%\SAT
  82. COPY *.* \FBB514
  83. CD %doc%
  84. COPY *.* \FBB514
  85. ECHO Copy new files...
  86. ECHO.
  87. CD \FBBTEMP
  88. \PKUNZJR %disk%FBB515.ZIP
  89. \PKUNZJR %disk%BIN515_2.ZIP
  90. \PKUNZJR %disk%STAT515.ZIP
  91. \PKUNZJR %disk%SYS515.ZIP
  92. \PKUNZJR %disk%FWD515.ZIP
  93. ECHO.
  94. ECHO.
  95. ECHO        Remove diskette no 1 and insert no 2 (if 360k).
  96. PAUSE
  97. \PKUNZJR %disk%DOC515.ZIP
  98. \PKUNZJR %disk%BIN515_1.ZIP
  99. \PKUNZJR %disk%SAT515.ZIP
  100. ECHO.
  101. ECHO        Remove diskette no 2 and insert no 3 (if 360k) 
  102. ECHO        or remove no 1 and insert no 2 (if 720k).
  103. PAUSE
  104. \PKUNZJR %disk%LANG515.ZIP
  105. COPY *.TXT %system%\LANG
  106. COPY *.HLP %system%\LANG
  107. COPY SERV.BIN %bin%
  108. COPY EPURMESS.BIN %bin%
  109. COPY EPURWP.BIN %bin%
  110. COPY MAINTINF.BIN %bin%
  111. COPY *.COM %bin%
  112. COPY *.EXE %bin%
  113. COPY *.DOC %doc%
  114. COPY INIT.SRV %fbb%
  115. COPY *.SAT %system%\SAT
  116. CD %bin%
  117. MAKEPG SERV GB
  118. MAKEPG EPURMESS GB
  119. MAKEPG EPURWP GB
  120. MAKEPG MAINTINF GB
  121. VERIFY OFF
  122. ECHO.
  123. CD \
  124. CLS
  125. ECHO.
  126. ECHO.
  127. ECHO  With this version of FBB, it is mandatory to run EPURMESS before the
  128. ECHO  software is started.  This is because there are some changes in 
  129. ECHO  DIRMES.SYS.  Press ENTER to do this now (do NOT stop with CTRL-C now !)
  130. ECHO.
  131. ECHO.
  132. PAUSE
  133. CD %fbb%
  134. del epurmess.res
  135. %bin%\epurmess
  136. CLS
  137. ECHO Automatic configuration of INIT.SRV.  There is a new program called 
  138. ECHO INSTAFBB with the software.  This program helps you configure INIT.SRV
  139. ECHO to suit your own needs.  This program will be run now.  Do NOT stop it
  140. ECHO with CTRL-C !  If you want to exit from it, do so with F10.
  141. ECHO.
  142. ECHO INSTAFBB can be restarted from %fbb%-directory at any time later.
  143. ECHO.
  144. ECHO Note:  If you want to use White Pages database/server (you will need
  145. ECHO to specify this in INIT.SRV now), you will need to have high memory 
  146. ECHO (EMS/XMS) available.  WP need high memory, cannot run without.
  147. ECHO.
  148. ECHO.
  149. PAUSE
  150. CD %fbb%
  151. INSTAFBB
  152. CD %system%
  153. MAINTREJ
  154. CLS
  155. ECHO Old files are now in \FBB514 directory.
  156. ECHO Extra copy of all new files are still in \FBBTEMP
  157. ECHO.
  158. ECHO Installation is complete.  If you want to use the new White Pages with 
  159. ECHO FBB, please press ENTER now and ignore the rest of this page...  If you
  160. ECHO do NOT want to use WP, you must stop now with CTRL-C and read below.
  161. ECHO.
  162. ECHO Modify INIT.SRV in %fbb%-directory, if needed.  A copy of your old 
  163. ECHO INIT.SRV is in \FBB514-directory.
  164. ECHO Modify APPEL.BAT in %bin%-directory.  See note in file about WP.
  165. ECHO Compare with the new example-file APPEL.BAT in \FBBTEMP.
  166. ECHO Update PORT.SYS in %system%-directory, check with the example-file
  167. ECHO in \FBBTEMP-directory.  Modify LANGUE.SYS in %system%-directory.  
  168. ECHO Also all *.TXT and *.HLP-files that has not been replaced by new ones now.
  169. ECHO.
  170. ECHO You have now made an english version of FBB.  If you want a french
  171. ECHO version, go to %bin%-directory and type "MAKEPG SERV FR",
  172. ECHO "MAKEPG EPURMESS FR" and "MAKEPG MAINTINF FR".
  173. ECHO.
  174. ECHO You may find a file named LANG515X.ZIP in one of the diskettes.  In that
  175. ECHO case that file will contain extra languages for FBB.  If you do find
  176. ECHO such a file on one of the diskettes, put that diskette in %disk%-drive
  177. ECHO and type PKUNZJR %disk%LANG515X %system%\LANG\.  After that you may need
  178. ECHO to add the new languages in %system%\LANGUE.SYS.
  179. PAUSE
  180. ECHO        White Pages (WP) installation.
  181. ECHO        ------------------------------
  182. ECHO.
  183. ECHO This version of FBB introduces White Pages server/database.  If you 
  184. ECHO want to use White Pages (WP), you need to do some more changes in
  185. ECHO your installation.  And to use WP, you MUST have high memory (EMS/XMS).
  186. ECHO If you will NOT use WP, exit now with CTRL-C.  If you WILL use WP,
  187. ECHO please continue.
  188. ECHO.
  189. ECHO.
  190. PAUSE
  191. CLS
  192. ECHO.
  193. ECHO Will make new directory %system%\WP.
  194. MD %system%\WP
  195. ECHO.
  196. ECHO Will now extract data from HROUTE.SYS for use in WP-database.  This
  197. ECHO will be imported into the BBS as mail when BBS is started. 
  198. ECHO.
  199. PAUSE
  200. ECHO.
  201. cd %system%
  202. HR2WP
  203. REN MAIL.WP MAIL.IN
  204. COPY MAIL.IN %fbb%
  205. CLS
  206. ECHO Installation is complete.
  207. ECHO.
  208. ECHO Modify INIT.SRV in %fbb%-directory, if needed.  A copy of your old 
  209. ECHO INIT.SRV is in \FBB514-directory.
  210. ECHO Modify APPEL.BAT in %bin%-directory.  See note in file about WP.
  211. ECHO Compare with the new example-file APPEL.BAT in \FBBTEMP.
  212. ECHO Update PORT.SYS in %system%-directory, check with the example-file
  213. ECHO in \FBBTEMP-directory.  Modify LANGUE.SYS in %system%-directory.  
  214. ECHO Also all *.TXT and *.HLP-files that has not been replaced by new ones now.
  215. ECHO.
  216. ECHO You have now made an english version of FBB.  If you want a french
  217. ECHO version, go to %bin%-directory and type "MAKEPG SERV FR",
  218. ECHO "MAKEPG EPURMESS FR", "MAKEPG EPURWP FR" and "MAKEPG MAINTINF FR".
  219. ECHO.
  220. ECHO.
  221. ECHO You may find a file named LANG515X.ZIP in one of the diskettes.  In that
  222. ECHO case that file will contain extra languages for FBB.  If you do find
  223. ECHO such a file on one of the diskettes, put that diskette in %disk%-drive
  224. ECHO and type PKUNZJR %disk%LANG515X %system%\LANG\.  After that you may need
  225. ECHO to add the new languages in %system%\LANGUE.SYS.
  226.